]> dgit.raspbian.org Git - gnome-shell.git/commit
panel: Indicate focus using a pill-shaped background
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 4 Aug 2020 11:47:59 +0000 (13:47 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 13 Jan 2021 23:06:48 +0000 (23:06 +0000)
commitc894ec95cdc2907290d02296148bd8f7ca2fbeaf
tree0b8165d4070b1e43acca99aad69e4b110411cb81
parenta44686affe6dce07da47549181457a8beca8ad2e
panel: Indicate focus using a pill-shaped background

The current way of indicating focus of elements in the panel does not
work very well with a fully-transparent panel, a line at the bottom of
the panel doesn't make too much sense if there is no real panel, but
only the text and icons.

To make the indicators look better in this case, switch to a pill-shaped
background color to indicate the focus of items in the panel.

For this to look good, there has to be a small black border above and
below the background, this also requires increasing the height of the
panel (from 1.86em to 2.2em) for visual purposes.

Also, since we now no longer need to color the lower bottom of the
panel, we can remove the custom drawing code for the border of the
panels corner, so do that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1397>
data/theme/gnome-shell-sass/widgets/_calendar.scss
data/theme/gnome-shell-sass/widgets/_panel.scss
js/ui/panel.js